package com.tang.model.bridge.message;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/8/29 21:17
 * @Desc
 * @Remarks
 */
public abstract class AbstractSender {
    protected IMessage iMessage;

    public AbstractSender(IMessage iMessage) {
        this.iMessage = iMessage;
    }

    //    普通的消息
    public void sendMessage(String msg, String toUser) {
        iMessage.send(msg, toUser);
    }
}
